<?php
    session_start();
    if($_SESSION['uid']==""||$_SESSION['level']!=3){
        header("Location: ../exit.php");
        exit();
    }

    include('/tool/submitValidate.php');
    include('/tool/pdo.php');
    include('/class/apartment.class.php');
    include('/bll/ApartmentBLL.php');

    $action = isset($_POST['action']) ? $_POST['action'] : 0;
    $data = isset($_POST['data']) ? $_POST['data'] : "";

    switch((int)$action){
        case 1:
        break;
        case 2:
        break;
        default:break;
    }
?>